import request from '@/utils/request'

// 查询发卡差错率列表
export function listStat_error(data) {
  return request({
    url: '/audit/cardError/list',
    method: 'post',
    data: data
  })
}

// 查询发卡差错率详细
export function getStat_error(id) {
  return request({
    url: '/audit/cardError/' + id,
    method: 'get'
  })
}

// 新增发卡差错率
export function addStat_error(data) {
  return request({
    url: '/audit/cardError',
    method: 'post',
    data: data
  })
}

// 修改发卡差错率
export function updateStat_error(data) {
  return request({
    url: '/audit/cardError',
    method: 'put',
    data: data
  })
}
// 上传
export function endStat_error(data) {
  return request({
    url: '/audit/cardError/upload',
    method: 'put',
    data: data
  })
}


// 删除发卡差错率
export function delStat_error(id) {
  return request({
    url: '/audit/cardError/' + id,
    method: 'delete'
  })
}


// 查询入口丢轴列表
export function listStat_rkdz(data) {
  return request({
    url: '/audit/lostAxles/list',
    method: 'post',
    data: data
  })
}

// 查询入口丢轴详细
export function getStat_rkdz(id) {
  return request({
    url: '/audit/lostAxles/' + id,
    method: 'get'
  })
}

// 新增入口丢轴
export function addStat_rkdz(data) {
  return request({
    url: '/audit/lostAxles',
    method: 'post',
    data: data
  })
}

// 修改入口丢轴
export function updateStat_rkdz(data) {
  return request({
    url: '/audit/lostAxles',
    method: 'put',
    data: data
  })
}
// 上传入口丢轴
export function endStat_rkdz(data) {
  return request({
    url: '/audit/lostAxles/upload',
    method: 'put',
    data: data
  })
}


// 删除入口丢轴
export function delStat_rkdz(id) {
  return request({
    url: '/audit/lostAxles/' + id,
    method: 'delete'
  })
}

